package com.cug.zfanspring.bean;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.sql.Timestamp;

public class IndexAlarm {

    private long id;
    private String serviceArea;
    private String index;
    @JsonIgnore
    private int state;
    private String alarmLevel;
    private Timestamp date;
    @JsonIgnore
    private float value;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getId() {
        return id;
    }

    public String getServiceArea() {
        return serviceArea;
    }

    public String getIndex() {
        return index;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }



    public void setServiceArea(String serviceArea) {
        this.serviceArea = serviceArea;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public void setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }
}


























